package dao;

import common.consts.Accounts;
import domain.Account;

import java.util.List;

/**
 * Created by aceyin on 2015/6/1 0001.
 */
public interface AccountDao extends GenericDao<Account, Long> {
    Account findByUsername(String username);

    void updateAccountStatus(long id, Accounts.Status status);

    void updateAvatar(String avatar, long id);

    void updatePassword(long id, String pwd);

    List<Account> findByIds(List<Long> ids);
}
